<?php

class IndexController extends Zend_Controller_Action
{

    public function indexAction()
    {
        $model = new Application_Model_DbTable_PageImages();
        $where = array('pageId = ?' => (int)$this->_request->getParam('pageId'));
        $this->view->images = $model->fetchAll($where);
    }


}

